package com.example.demo.service;

import com.example.demo.entity.ClassInfo;
import com.example.demo.mapper.ClassInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassInfoServiceImpl implements ClassInfoService{
    @Autowired
    private ClassInfoMapper classInfoMapper;

    @Override
    public List<ClassInfo> getClassInfo() {
        return classInfoMapper.getClassInfo();
    }
}
